/*
 * @Author: your name
 * @Date: 2021-06-27 09:55:42
 * @LastEditTime: 2021-06-27 11:02:31
 * @LastEditors: Please set LastEditors
 * @Description: In User Settings Edit
 * @FilePath: \新建文件夹 (2)\asugcsacv\router\user.js
 */
const router=require("koa-router")()
const {list,data,datalist,listdata,dalist,kshbhvjh}=require("../mollide/user")
router.get("/list",list)//搜索
router.post("/data",data)//添加
router.put("/list/data",listdata)//编辑
router.delete("/data/list/:id",datalist)//删除
router.post("/dalist",dalist)//编辑
router.post("/kshbhvjh",kshbhvjh)//登录
module.exports=router